package com.arpa.wms.domain.dto;

import java.math.BigDecimal;

import com.arpa.wms.domain.entity.BasicEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 积分兑换商品DTO
 * </p>
 *
 * @author wangdong
 * @since 2021-07-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="PointsExchangeGoods对象", description="积分兑换商品")
public class PointsExchangeGoodsDTO extends BasicEntity {


    @ApiModelProperty(value = "商品标识")
    private String code;

    @ApiModelProperty(value = "所属机构")
    private String groupCode;

    @ApiModelProperty(value = "商品名称")
    private String name;

    @ApiModelProperty(value = "消耗积分")
    private BigDecimal points;

    @ApiModelProperty(value = "状态：0停用，1启用")
    private String status;

    @ApiModelProperty(value = "第几页")
    private Integer pageNum=1;

    @ApiModelProperty(value = "每页条数")
    private Integer pageSize=10;

    @ApiModelProperty(value = "排序字段")
    private String sortField;

    @ApiModelProperty(value = "排序方式")
    private String sortType;

    @ApiModelProperty(value = "消耗积分上限")
    private BigDecimal pointsUp;

    @ApiModelProperty(value = "消耗积分上限")
    private BigDecimal pointsLow;

}
